package cn.wetcland.dao;

import cn.wetcland.pojo.WetclandPlayer;

import java.util.List;

public interface WetclandPlayerDao {

    List<WetclandPlayer> findAll();

    WetclandPlayer findOne(String name);

    WetclandPlayer findOneById(int id);

    void addNewPlayer(WetclandPlayer player);

    void updatePlayer(WetclandPlayer player);

}
